package compiler;

public abstract class CompileException extends Exception {
	private static final long serialVersionUID = 0L;

	protected final int line;
	protected final int position;
	protected final String cause;
	
	public CompileException (int line, int position, String cause) {
		this.line = line;
		this.position = position;
		this.cause = cause;
	}
	
	@Override
	public abstract String getMessage();
}
